package com.framework.modules.job.task;

import com.framework.service.DistribuService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 自行接收机器，每天核算分润前执行
 * @author wq
 */
@Component("reciveTerminalTask")
public class ReciveTerminalTask {
    @Autowired
    private DistribuService DistribuService;

    private Logger logger = LoggerFactory.getLogger(getClass());

    public void reciveTerminal() {
        logger.info("----------接收机器开始-----------");
        DistribuService.receiveTerminal();
        logger.info("----------接收机器完成-----------");
    }


}



